﻿using System;
using System.ComponentModel;
using DotNet.Highcharts;

namespace Citi.Scheduler.WebUi.Models
{
    public class PeriodSummaryModel
    {
        [DisplayName ("Average execution time")]
        public double AverageExecution { get; set;}
        [DisplayName("Maximum execution time")]
        public double MaximumExecution { get; set; }
        [DisplayName("Minimum execution time")]
        public double MinimumExecution { get; set; }
        public DateTime Start { get; set; }
        public DateTime End { get; set; }
        [DisplayName("Number of errors")]
        public int ErrorsCount { get; set; }
        [DisplayName("Runtime planned")]
        public int ExecutionTime { get; set; }
        [DisplayName("Maximum Percentage variation")]
        public int PercentageVariation { get; set; }
        [DisplayName("Greater Variation")]
        public double GreaterVariation { get; set; }
        public DateTime GreaterVariationStart { get; set; }
        public DateTime GreaterVariationEnd { get; set; }
        public double Growth { get; set; }
        [DisplayName("Number of executions during the period")]
        public int ExecutionsCount { get; set; }
        public Highcharts Chart { get; set; }
    }
}